﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using BusinessObjects.BO_GetObjects;
using DigiLib;

public partial class Controls_HomeSlide : Base_Controls
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //Cid = getRequest("category_id", 0);
        //base.setField(Convert.ToInt32(this.Attributes["ID"]));
        //ObjDT = BO_portal_galleries.SelectWithPaged(base.Cur_page, base.PSize, 1);
        //base.bindRepeater(rptData, ObjDT);
        if (!IsPostBack)
        {
            LoadData();
        }
    }
    //load data

    public void LoadData()
    {
        try
        {
            base.bindRepeater(rptData,BO_portal_galleries_details.SelectAll(1));
        }
        catch (Exception)
        {
            
            throw;
        }
    }
}